package chis.dip.map;

import chis.dip.fragments.MapManager;

import com.google.android.gms.maps.GoogleMap;
import com.google.android.gms.maps.MapFragment;
import com.google.android.gms.maps.model.LatLng;
import com.google.android.gms.maps.model.MarkerOptions;


import android.os.Bundle;
import android.app.Activity;
import android.view.Menu;

public class MapActivity extends Activity  {

	//private GoogleMap mMap;
	private MapManager mapManager;

	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.map_activity);
		mapManager = new MapManager(this);

		//mMap = mapManager.getmMap();

		//		// Get a reference to the MapView 
		//	    mMap = ((MapFragment) getFragmentManager().findFragmentById(R.id.map))
		//	            .getMap();

		// Configure the map display options
		// mMap.setMapType(GoogleMap.MAP_TYPE_HYBRID);


	}

	@Override
	public boolean onCreateOptionsMenu(Menu menu) {
		// Inflate the menu; this adds items to the action bar if it is present.
		getMenuInflater().inflate(R.menu.map, menu);
		return true;
	}
//
//	@Override
//	public void onMapLongClick(LatLng arg0) {
//		mapManager.addMarkerToMap(new MarkerOptions()
//		.title("here"));
//	}

}
